<template>
  <div>
    <h1>Two--count:{{count}}</h1>
    <button @click="changeCount">改变值</button>
  </div>
</template>
<script>
import count from '@/mixins/count'
export default {
  name: '',
 mixins:[count],
 mounted(){
  console.log("Two");
 }
}
</script>

<style scoped>
</style>
